3.320 \(\int x^{5/2} (a+b x) (A+B x) \, dx\)

Optimal. Leaf size=39 \[ \frac{2}{9} x^{9/2} (a B+A b)+\frac{2}{7} a A x^{7/2}+\frac{2}{11} b B x^{11/2} \]

[Out]

(2*a*A*x^(7/2))/7 + (2*(A*b + a*B)*x^(9/2))/9 + (2*b*B*x^(11/2))/11

________________________________________________________________________________________

Rubi [A]  time = 0.0136939, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.062, Rules used = {76} \[ \frac{2}{9} x^{9/2} (a B+A b)+\frac{2}{7} a A x^{7/2}+\frac{2}{11} b B x^{11/2} \]

Antiderivative was successfully verified.

[In]

Int[x^(5/2)*(a + b*x)*(A + B*x),x]

[Out]

(2*a*A*x^(7/2))/7 + (2*(A*b + a*B)*x^(9/2))/9 + (2*b*B*x^(11/2))/11

Rule 76

Int[((d_.)*(x_))^(n_.)*((a_) + (b_.)*(x_))*((e_) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*
x)*(d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, d, e, f, n}, x] && IGtQ[p, 0] && (NeQ[n, -1] || EqQ[p, 1]) && N
eQ[b*e + a*f, 0] && ( !IntegerQ[n] || LtQ[9*p + 5*n, 0] || GeQ[n + p + 1, 0] || (GeQ[n + p + 2, 0] && Rational
Q[a, b, d, e, f])) && (NeQ[n + p + 3, 0] || EqQ[p, 1])

Rubi steps

\begin{align*} \int x^{5/2} (a+b x) (A+B x) \, dx &=\int \left (a A x^{5/2}+(A b+a B) x^{7/2}+b B x^{9/2}\right ) \, dx\\ &=\frac{2}{7} a A x^{7/2}+\frac{2}{9} (A b+a B) x^{9/2}+\frac{2}{11} b B x^{11/2}\\ \end{align*}

Mathematica [A]  time = 0.0090589, size = 33, normalized size = 0.85 \[ \frac{2}{693} x^{7/2} (11 a (9 A+7 B x)+7 b x (11 A+9 B x)) \]

Antiderivative was successfully verified.

[In]

Integrate[x^(5/2)*(a + b*x)*(A + B*x),x]

[Out]

(2*x^(7/2)*(11*a*(9*A + 7*B*x) + 7*b*x*(11*A + 9*B*x)))/693

________________________________________________________________________________________

Maple [A]  time = 0.003, size = 28, normalized size = 0.7 \begin{align*}{\frac{126\,bB{x}^{2}+154\,Abx+154\,Bax+198\,Aa}{693}{x}^{{\frac{7}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(5/2)*(b*x+a)*(B*x+A),x)

[Out]

2/693*x^(7/2)*(63*B*b*x^2+77*A*b*x+77*B*a*x+99*A*a)

________________________________________________________________________________________

Maxima [A]  time = 1.13839, size = 36, normalized size = 0.92 \begin{align*} \frac{2}{11} \, B b x^{\frac{11}{2}} + \frac{2}{7} \, A a x^{\frac{7}{2}} + \frac{2}{9} \,{\left (B a + A b\right )} x^{\frac{9}{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(5/2)*(b*x+a)*(B*x+A),x, algorithm="maxima")

[Out]

2/11*B*b*x^(11/2) + 2/7*A*a*x^(7/2) + 2/9*(B*a + A*b)*x^(9/2)

________________________________________________________________________________________

Fricas [A]  time = 2.45249, size = 84, normalized size = 2.15 \begin{align*} \frac{2}{693} \,{\left (63 \, B b x^{5} + 99 \, A a x^{3} + 77 \,{\left (B a + A b\right )} x^{4}\right )} \sqrt{x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(5/2)*(b*x+a)*(B*x+A),x, algorithm="fricas")

[Out]

2/693*(63*B*b*x^5 + 99*A*a*x^3 + 77*(B*a + A*b)*x^4)*sqrt(x)

________________________________________________________________________________________

Sympy [A]  time = 3.84029, size = 46, normalized size = 1.18 \begin{align*} \frac{2 A a x^{\frac{7}{2}}}{7} + \frac{2 A b x^{\frac{9}{2}}}{9} + \frac{2 B a x^{\frac{9}{2}}}{9} + \frac{2 B b x^{\frac{11}{2}}}{11} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(5/2)*(b*x+a)*(B*x+A),x)

[Out]

2*A*a*x**(7/2)/7 + 2*A*b*x**(9/2)/9 + 2*B*a*x**(9/2)/9 + 2*B*b*x**(11/2)/11

________________________________________________________________________________________

Giac [A]  time = 1.17749, size = 39, normalized size = 1. \begin{align*} \frac{2}{11} \, B b x^{\frac{11}{2}} + \frac{2}{9} \, B a x^{\frac{9}{2}} + \frac{2}{9} \, A b x^{\frac{9}{2}} + \frac{2}{7} \, A a x^{\frac{7}{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(5/2)*(b*x+a)*(B*x+A),x, algorithm="giac")

[Out]

2/11*B*b*x^(11/2) + 2/9*B*a*x^(9/2) + 2/9*A*b*x^(9/2) + 2/7*A*a*x^(7/2)